package com.dd.shop4j.goods.model;

import java.util.Date;


/**
 * goods_info - 商品信息
 * 
 * @author 唐小恕 2013-08-29
 * @version 1.0 
 */
public class GoodsInfo {
	/**
	 * int(0)
	 * 商品id
	 * 主键字段
	 * 字段不允许为空
	 */
	private Integer id;
	/**
	 * varchar(50)
	 * 商品名
	 */
	private String name;
	/**
	 * varchar(20)
	 * 商品code
	 */
	private String code;
	/**
	 * varchar(50)
	 * 商品名样式
	 */
	private String nameStyle;
	/**
	 * int(0)
	 * 点击量
	 */
	private Integer clickCount;
	/**
	 * int(0)
	 * 品牌id
	 */
	private Integer brandId;
	/**
	 * double(0)
	 * 商品原价
	 */
	private Double srcPrice;
	/**
	 * double(0)
	 * 商品售价
	 */
	private Double shopPrice;
	/**
	 * double(0)
	 * 促销价
	 */
	private Double promotePrice;
	/**
	 * datetime(0)
	 * 促销开始时间
	 */
	private Date promoteStart;
	/**
	 * datetime(0)
	 * 促销结束时间
	 */
	private Date promoteEnd;
	/**
	 * int(0)
	 * 营销id
	 */
	private Integer saleId;
	/**
	 * int(0)
	 * 积分
	 */
	private Integer saleScore;
	/**
	 * varchar(50)
	 * 原图url
	 */
	private String srcImg;
	/**
	 * varchar(50)
	 * 商品图片（大）
	 */
	private String bigImg;
	/**
	 * varchar(50)
	 * 商品图片（中）
	 */
	private String middImg;
	/**
	 * varchar(50)
	 * 商品图片（小）
	 */
	private String smallImg;
	/**
	 * int(0)
	 * 积分价
	 */
	private Integer scorePrice;
	/**
	 * int(0)
	 * 属性id
	 */
	private Integer attrId;
	/**
	 * int(0)
	 * 分类id
	 */
	private Integer categId;
	/**
	 * int(0)
	 * 库存
	 */
	private Integer goodNum;
	/**
	 * int(0)
	 * 库存预警
	 */
	private Integer warnNum;
	/**
	 * bit(0)
	 * 是否新品
	 */
	private Boolean newFlag;
	/**
	 * bit(0)
	 * 是否精品
	 */
	private Boolean bestFlag;
	/**
	 * bit(0)
	 * 是否热销
	 */
	private Boolean hotFlag;
	/**
	 * char(1)
	 * 商品状态
	 */
	private String status;
	/**
	 * datetime(0)
	 * 上架时间
	 */
	private Date upTime;
	/**
	 * datetime(0)
	 * 下架时间
	 */
	private Date downTime;
	/**
	 * varchar(50)
	 * SEO关键字
	 */
	private String seoKeyword;
	/**
	 * varchar(50)
	 * SEO描述
	 */
	private String seoDescription;
	/**
	 * int(0)
	 * 添加人id
	 */
	private Integer addUser;
	/**
	 * datetime(0)
	 * 添加时间
	 */
	private Date addTime;
	/**
	 * int(0)
	 * 最后修改人id
	 */
	private Integer updateUser;
	/**
	 * datetime(0)
	 * 最后修改时间
	 */
	private Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getNameStyle() {
		return nameStyle;
	}

	public void setNameStyle(String nameStyle) {
		this.nameStyle = nameStyle;
	}

	public Integer getClickCount() {
		return clickCount;
	}

	public void setClickCount(Integer clickCount) {
		this.clickCount = clickCount;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public Double getSrcPrice() {
		return srcPrice;
	}

	public void setSrcPrice(Double srcPrice) {
		this.srcPrice = srcPrice;
	}

	public Double getShopPrice() {
		return shopPrice;
	}

	public void setShopPrice(Double shopPrice) {
		this.shopPrice = shopPrice;
	}

	public Double getPromotePrice() {
		return promotePrice;
	}

	public void setPromotePrice(Double promotePrice) {
		this.promotePrice = promotePrice;
	}

	public Date getPromoteStart() {
		return promoteStart;
	}

	public void setPromoteStart(Date promoteStart) {
		this.promoteStart = promoteStart;
	}

	public Date getPromoteEnd() {
		return promoteEnd;
	}

	public void setPromoteEnd(Date promoteEnd) {
		this.promoteEnd = promoteEnd;
	}

	public Integer getSaleId() {
		return saleId;
	}

	public void setSaleId(Integer saleId) {
		this.saleId = saleId;
	}

	public Integer getSaleScore() {
		return saleScore;
	}

	public void setSaleScore(Integer saleScore) {
		this.saleScore = saleScore;
	}

	public String getSrcImg() {
		return srcImg;
	}

	public void setSrcImg(String srcImg) {
		this.srcImg = srcImg;
	}

	public String getBigImg() {
		return bigImg;
	}

	public void setBigImg(String bigImg) {
		this.bigImg = bigImg;
	}

	public String getMiddImg() {
		return middImg;
	}

	public void setMiddImg(String middImg) {
		this.middImg = middImg;
	}

	public String getSmallImg() {
		return smallImg;
	}

	public void setSmallImg(String smallImg) {
		this.smallImg = smallImg;
	}

	public Integer getScorePrice() {
		return scorePrice;
	}

	public void setScorePrice(Integer scorePrice) {
		this.scorePrice = scorePrice;
	}

	public Integer getAttrId() {
		return attrId;
	}

	public void setAttrId(Integer attrId) {
		this.attrId = attrId;
	}

	public Integer getCategId() {
		return categId;
	}

	public void setCategId(Integer categId) {
		this.categId = categId;
	}

	public Integer getGoodNum() {
		return goodNum;
	}

	public void setGoodNum(Integer goodNum) {
		this.goodNum = goodNum;
	}

	public Integer getWarnNum() {
		return warnNum;
	}

	public void setWarnNum(Integer warnNum) {
		this.warnNum = warnNum;
	}

	public Boolean getNewFlag() {
		return newFlag;
	}

	public void setNewFlag(Boolean newFlag) {
		this.newFlag = newFlag;
	}

	public Boolean getBestFlag() {
		return bestFlag;
	}

	public void setBestFlag(Boolean bestFlag) {
		this.bestFlag = bestFlag;
	}

	public Boolean getHotFlag() {
		return hotFlag;
	}

	public void setHotFlag(Boolean hotFlag) {
		this.hotFlag = hotFlag;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getUpTime() {
		return upTime;
	}

	public void setUpTime(Date upTime) {
		this.upTime = upTime;
	}

	public Date getDownTime() {
		return downTime;
	}

	public void setDownTime(Date downTime) {
		this.downTime = downTime;
	}

	public String getSeoKeyword() {
		return seoKeyword;
	}

	public void setSeoKeyword(String seoKeyword) {
		this.seoKeyword = seoKeyword;
	}

	public String getSeoDescription() {
		return seoDescription;
	}

	public void setSeoDescription(String seoDescription) {
		this.seoDescription = seoDescription;
	}

	public Integer getAddUser() {
		return addUser;
	}

	public void setAddUser(Integer addUser) {
		this.addUser = addUser;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}